import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import App from './App'
import MyElRadio from './components/el-radio/my-el-radio'
import router from './router/router'
import MySimpleTable from "~/el-views/table/simpleTable";
import MySimpleTr from "~/el-views/table/simpleTr";

//使用插件
Vue.use(ElementUI)
Vue.use(router)

// 注册全局组件，需要加上名称name
Vue.component(MySimpleTable.name,MySimpleTable)
Vue.component(MySimpleTr.name,MySimpleTr)


// 新建vue
new Vue({
    router,
    render: h => h(App)
}).$mount("#app")
